package com.monitor.app_monitor.service.quartz.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Dataformat {

    public static String getDataFormat(String format){
        Date date = new Date();
        //String strDateFormat = "yyyyMMddHHmm";
        String strDateFormat = format;
        SimpleDateFormat sdf = new SimpleDateFormat(strDateFormat);
        String Data = sdf.format(date);

        return Data;
    }
}
